import http from '@/base/http';

/**
 * 支付相关
 */
enum API_PAYMENT {
  CREATE_PAYMENT = '/casamiel/api/payment/miniprogram/order/pay', // 创建支付
}

export function fetchCreatePayment(data: unknown): Promise<any> {
  return http.post(API_PAYMENT.CREATE_PAYMENT, data);
}
